﻿@model FantasyDraft2.Models.PlayerHistoryViewModel

@{
    ViewBag.Title = "Index";
}

<h2>Select Player to View History</h2>

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td>
                @Html.DropDownListFor(x => x.playerId,new SelectList(Model.players,"PlayerId","Name"))
            </td>
            <td>
                <input type="submit" value="Check History" />
            </td>
        </tr>
    </table>
}